package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 wsd_students
 *
 * @author ruoyi
 * @date 2024-04-15
 */
@Data
@Accessors(chain = true)
@TableName("wsd_students")
public class WsdStudents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 学生性别 */
    @Excel(name = "学生性别")
    private Long studentsSex;
    /** 证件号 */
    @Excel(name = "证件号")
    private String identityNumber;

    /** 学生状态：1=在籍, 2=退学 */
    @Excel(name = "学生状态：1=在籍, 2=退学")
    private Long status;

    /** 逻辑删除标记，0=未删除，1=已删除 */
    @Excel(name = "逻辑删除标记，0=未删除，1=已删除")
    private Integer isDeleted;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 家长手机号 */
    @Excel(name = "家长手机号")
    private String parentsPhone;
    @Excel(name = "学校id")
    private Long schoolId;

    @TableField(exist = false)
    private String classIds;
}
